home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / lib / partman / valid_filesystems / 80ntfs < prev   
Text File  |  2008-10-29  |  266b  |  24 lines

  1. #!/bin/sh
  2.  
  3. dev=$1
  4. id=$2
  5. property=$3
  6.  
  7. [ -f /var/lib/partman/ntfs ] || exit 0
  8.  
  9. case $property in
  10.     formatable)
  11.     ;;
  12.     existing)
  13.     [ -f $id/detected_filesystem ] || exit 0
  14.     fs=$(cat $id/detected_filesystem)
  15.  
  16.     case "$fs" in
  17.         ntfs)
  18.         echo ntfs
  19.         ;;
  20.     esac
  21.     ;;
  22. esac
  23.  
  24.